﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="HR_InsuranceChange.aspx.cs" Inherits="ArtLand.OA.Project.HR.HR_InsuranceChange" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <style>
        .boldred {
            font-weight: bold;
            color: red;
        }

        .boldblack {
            font-weight: bold;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <ext:PageManager runat="server" ID="page1" AutoSizePanelID="pan1" />
        <ext:Panel runat="server" ID="pan1" ShowHeader="false" BodyPadding="5px" EnableBackgroundColor="true"
            EnableCollapse="True" ShowBorder="false" Layout="Fit">
            <Items>
                <ext:SimpleForm ID="SimpleForm1" BodyPadding="5px" Title="缴纳事项" runat="server">
                    <Toolbars>
                        <ext:Toolbar>
                            <Items>
                                <ext:ToolbarText ID="ToolbarText1" runat="server" Text="年:"></ext:ToolbarText>
                                <ext:DropDownList runat="server" ID="Drp_Year" Width="70px">
                                </ext:DropDownList>
                                <ext:ToolbarText ID="ToolbarText2" runat="server" Text="月:"></ext:ToolbarText>
                                <ext:DropDownList runat="server" ID="Drp_Mouth" Width="50px"></ext:DropDownList>
                                <%--<ext:ToolbarSeparator></ext:ToolbarSeparator>--%>
                                <%--<ext:Button runat="server" ID="btnP" Icon="DatePrevious" Text="上月" OnClick="btnP_Click"></ext:Button>
                                <ext:Button runat="server" ID="btnN" Icon="DateNext" Text="下月" OnClick="btnN_Click"></ext:Button>--%>
                                <ext:ToolbarFill></ext:ToolbarFill>
                                <ext:Button Text="保存" Icon="Accept" ValidateForms="SimpleForm1" runat="server" ID="btnSave" OnClick="btnSave_Click"></ext:Button>
                            </Items>
                        </ext:Toolbar>
                    </Toolbars>
                    <Items>
                        <ext:GroupPanel Title="缴纳基数">
                            <Items>
                                <ext:Panel ID="Panel2" ShowHeader="false" CssClass="x-form-item" ShowBorder="false"
                                    Layout="Column" runat="server">
                                    <Items>
                                        <ext:Label ID="Label2" Width="60px" runat="server" CssClass="inline" ShowLabel="false"
                                            Text="缴纳类型：">
                                        </ext:Label>
                                        <ext:TextBox runat="server" ID="txt_PayType" Required="true" Label="缴纳类型" Width="95px"></ext:TextBox>
                                        <ext:Label ID="Label1" Width="65px" runat="server" CssClass="inline" ShowLabel="false"
                                            Text="&nbsp;缴纳状态：">
                                        </ext:Label>
                                        <ext:TextBox runat="server" ID="txt_PayStuts" Width="95px" Required="true" Label="缴纳状态"></ext:TextBox>
                                        <ext:Label ID="Label3" Width="80px" runat="server" CssClass="inline" ShowLabel="false"
                                            Text="&nbsp;缴费起始月：">
                                        </ext:Label>
                                        <ext:DatePicker runat="server" ID="txt_PayStartMonth" Required="true" Label="缴费起始月"></ext:DatePicker>
                                    </Items>
                                </ext:Panel>
                                <ext:Panel ID="Panel1" ShowHeader="false" CssClass="x-form-item" BodyPadding="10px 0px 0px 0px" ShowBorder="false"
                                    Layout="Column" runat="server">
                                    <Items>
                                        <ext:Label ID="Label4" Width="85px" runat="server" CssClass="inline" ShowLabel="false"
                                            Text="社保缴纳基数：">
                                        </ext:Label>
                                        <ext:NumberBox runat="server" AutoPostBack="true" OnTextChanged="Calculation" ID="txt_SocialBase" Width="95px" Text="0"></ext:NumberBox>
                                        <ext:Label ID="Label5" Width="100px" runat="server" CssClass="inline" ShowLabel="false"
                                            Text="&nbsp;公积金缴纳基数：">
                                        </ext:Label>
                                        <ext:NumberBox AutoPostBack="true" OnTextChanged="Calculation" runat="server" ID="txt_ProvBase" Width="95px" Text="0"></ext:NumberBox>
                                    </Items>
                                </ext:Panel>
                            </Items>
                        </ext:GroupPanel>
                        <ext:GroupPanel Title="个人社保">
                            <Items>
                                <ext:Panel ID="Panel3" ShowHeader="false" CssClass="x-form-item" ShowBorder="false"
                                    Layout="Column" runat="server">
                                    <Items>
                                        <ext:Label ID="Label7" Width="85px" runat="server" CssClass="inline" ShowLabel="false"
                                            Text="个人养老保险：">
                                        </ext:Label>
                                        <ext:NumberBox runat="server" AutoPostBack="true" OnTextChanged="Calculation" ID="txt_NursPerson" Text="0" Width="70px"></ext:NumberBox>
                                        <ext:Label ID="Label8" Width="90px" runat="server" CssClass="inline" ShowLabel="false"
                                            Text="&nbsp;个人医疗保险：">
                                        </ext:Label>
                                        <ext:NumberBox runat="server" AutoPostBack="true" OnTextChanged="Calculation"  ID="txt_MedicalPerson" Width="70px" Text="0"></ext:NumberBox>
                                        <ext:Label ID="Label9" Width="90px" runat="server" CssClass="inline" ShowLabel="false"
                                            Text="&nbsp;个人失业保险：">
                                        </ext:Label>
                                        <ext:NumberBox runat="server" AutoPostBack="true" OnTextChanged="Calculation"  ID="txt_UnemployePerson" Width="70px" Text="0"></ext:NumberBox>
                                        <ext:Label ID="lbl_PersonTotal" Width="90px" runat="server" CssClass="inline" ShowLabel="false"
                                            Text="&nbsp;<span class='boldblack'>合计：</span><span class='boldred'>0.00</span>" EncodeText="false">
                                        </ext:Label>
                                    </Items>
                                </ext:Panel>
                            </Items>
                        </ext:GroupPanel>
                        <ext:GroupPanel Title="单位社保">
                            <Items>
                                <ext:Panel ID="Panel5" ShowHeader="false" CssClass="x-form-item" ShowBorder="false"
                                    Layout="Column" runat="server">
                                    <Items>
                                        <ext:Label ID="Label6" Width="85px" runat="server" CssClass="inline" ShowLabel="false"
                                            Text="单位养老保险：">
                                        </ext:Label>
                                        <ext:NumberBox runat="server" AutoPostBack="true" OnTextChanged="Calculation" ID="txt_NursCompany" Width="95px" Text="0"></ext:NumberBox>
                                        <ext:Label ID="Label11" Width="90px" runat="server" CssClass="inline" ShowLabel="false"
                                            Text="&nbsp;单位医疗保险：">
                                        </ext:Label>
                                        <ext:NumberBox AutoPostBack="true" OnTextChanged="Calculation" runat="server" ID="txt_MedicalCompany" Width="95px" Text="0"></ext:NumberBox>
                                        <ext:Label ID="Label12" Width="90px" runat="server" CssClass="inline" ShowLabel="false"
                                            Text="&nbsp;单位失业保险：">
                                        </ext:Label>
                                        <ext:NumberBox AutoPostBack="true" OnTextChanged="Calculation" runat="server" ID="txt_UnemployeCompany" Width="95px" Text="0"></ext:NumberBox>
                                    </Items>
                                </ext:Panel>
                                <ext:Panel ID="Panel7" ShowHeader="false" CssClass="x-form-item" BodyPadding="10px 0px 0px 0px" ShowBorder="false"
                                    Layout="Column" runat="server">
                                    <Items>
                                        <ext:Label ID="Label25" Width="85px" runat="server" CssClass="inline" ShowLabel="false"
                                            Text="单位生育保险：">
                                        </ext:Label>
                                        <ext:NumberBox AutoPostBack="true" OnTextChanged="Calculation" runat="server" ID="txt_BirthCompany" Width="95px" Text="0"></ext:NumberBox>
                                        <ext:Label ID="Label26" Width="90px" runat="server" CssClass="inline" ShowLabel="false"
                                            Text="&nbsp;单位工伤保险：">
                                        </ext:Label>
                                        <ext:NumberBox AutoPostBack="true" OnTextChanged="Calculation" runat="server" ID="txt_InjuryCompany" Width="95px" Text="0"></ext:NumberBox>
                                        <ext:Label ID="lbl_CompanyTotal" Width="100px" runat="server" CssClass="inline" ShowLabel="false"
                                            Text="&nbsp;<span class='boldblack'>合计：</span><span class='boldred'>0.00</span>" EncodeText="false">
                                        </ext:Label>
                                    </Items>
                                </ext:Panel>
                            </Items>
                        </ext:GroupPanel>
                        <ext:GroupPanel Title="缴纳合计">
                            <Items>
                                <ext:Panel ID="Panel4" ShowHeader="false" CssClass="x-form-item" ShowBorder="false"
                                    Layout="Column" runat="server">
                                    <Items>
                                        <ext:Label ID="lbl_SocialTotal" Width="120px" runat="server" CssClass="inline" ShowLabel="false"
                                            Text="<span class='boldblack'>社保合计：</span><span class='boldred'>0.00</span>" EncodeText="false">
                                        </ext:Label>
                                        <ext:Label ID="Label13" Width="10px" runat="server" CssClass="inline" ShowLabel="false"
                                            Text="&nbsp;&nbsp;">
                                        </ext:Label>
                                        <ext:Label ID="lbl_ProvPerson" Width="150px" runat="server" CssClass="inline" ShowLabel="false"
                                            Text="<span class='boldblack'>公积金个人缴纳：</span><span class='boldred'>0.00</span>" EncodeText="false">
                                        </ext:Label>
                                        <ext:Label ID="Label18" Width="10px" runat="server" CssClass="inline" ShowLabel="false"
                                            Text="&nbsp;&nbsp;">
                                        </ext:Label>
                                        <ext:Label ID="lbl_ProvCompany" Width="150px" runat="server" CssClass="inline" ShowLabel="false"
                                            Text="<span class='boldblack'>公积金单位缴纳：</span><span class='boldred'>0.00</span>" EncodeText="false">
                                        </ext:Label>
                                        <ext:Label ID="Label15" Width="10px" runat="server" CssClass="inline" ShowLabel="false"
                                            Text="&nbsp;&nbsp;">
                                        </ext:Label>
                                        <ext:Label ID="lbl_ProvTotal" Width="120px" runat="server" CssClass="inline" ShowLabel="false"
                                            Text="<span class='boldblack'>公积金合计：</span><span class='boldred'>0.00</span>" EncodeText="false">
                                        </ext:Label>
                                    </Items>
                                </ext:Panel>
                                <ext:Panel ID="Panel6" ShowHeader="false" CssClass="x-form-item" BodyPadding="10px 0px 0px 0px" ShowBorder="false"
                                    Layout="Column" runat="server">
                                    <Items>
                                        <ext:Label ID="lbl_PersonAmount" Width="150px" runat="server" CssClass="inline" ShowLabel="false"
                                            Text="<span class='boldblack'>个人缴纳总合计：</span><span class='boldred'>0.00</span>" EncodeText="false">
                                        </ext:Label>
                                        <ext:Label ID="Label19" Width="10px" runat="server" CssClass="inline" ShowLabel="false"
                                            Text="&nbsp;&nbsp;">
                                        </ext:Label>
                                        <ext:Label ID="lbl_CompanyAmount" Width="150px" runat="server" CssClass="inline" ShowLabel="false"
                                            Text="<span class='boldblack'>单位缴纳总合计：</span><span class='boldred'>0.00</span>" EncodeText="false">
                                        </ext:Label>
                                        <ext:Label ID="Label23" Width="10px" runat="server" CssClass="inline" ShowLabel="false"
                                            Text="&nbsp;&nbsp;">
                                        </ext:Label>
                                        <ext:Label ID="lbl_Amounts" Width="100px" runat="server" CssClass="inline" ShowLabel="false"
                                            Text="<span class='boldblack'>总合计：</span><span class='boldred'>0.00</span>" EncodeText="false">
                                        </ext:Label>
                                    </Items>
                                </ext:Panel>
                            </Items>
                        </ext:GroupPanel>
                        <ext:Panel ID="Panel8" ShowHeader="false" CssClass="x-form-item" ShowBorder="false"
                            Layout="Column" runat="server">
                            <Items>
                                <ext:Label ID="Label28" Width="40px" runat="server" CssClass="inline" ShowLabel="false"
                                    Text="备注：">
                                </ext:Label>
                                <ext:TextArea runat="server" Width="574px" Height="40px" ID="txt_Memo"></ext:TextArea>
                            </Items>
                        </ext:Panel>
                    </Items>
                </ext:SimpleForm>
            </Items>
        </ext:Panel>
    </form>
    <script src="../js/extgridbug.js"></script>

</body>
</html>
